Filter hook 'theme_mod_{$name}'
in WP Core File wp-includes/theme.php at line 1069
Description
Filters the theme modification, or 'theme_mod', value. The dynamic portion of the hook name, `$name`, refers to the key name of the modification array. For example, 'header_textcolor', 'header_image', and so on depending on the theme options.
Occurrences
Filename |
Line Number |
wp-includes/theme.php |
1069 |
wp-includes/theme.php |
1082 |
Parameters
Type |
Name |
Description |
mixed |
$current_mod |
The value of the active theme modification. |
PHP Doc
/**
* Filters the theme modification, or 'theme_mod', value.
*
* The dynamic portion of the hook name, `$name`, refers to the key name
* of the modification array. For example, 'header_textcolor', 'header_image',
* and so on depending on the theme options.
*
* @since 2.2.0
*
* @param mixed $current_mod The value of the active theme modification.
*/